package com.zhangx.study.demo.run;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.HashMap;
import java.util.Map;

/**
 * @ClassName TestController
 * @Description TODO
 * @Author zhangx
 * @Date 2020/11/12 8:52
 **/
@Slf4j
@RestController
public class TestController {

    @GetMapping("main")
    public Map<String,Object> test(){
        Map<String,Object> result = new HashMap<>();
        result.put("name","张三");
        return result;
    }

    public static void main(String[] args) {
        log.info("{}",Integer.MAX_VALUE);
    }
}
